<?php
header("Content-Type:text/html;charset=utf-8");
//路径设置
if (!defined('G_PATH_SYS')) define('G_PATH_SYS','D:/APMServ5.2.6/www/htdocs/');
include("LianPhp.php");
$sql = "SELECT * FROM article";
$result = LianPhp::db()->getAll($sql);
LianPhp::core()->Safe->dump($result);
LianPhp::db()->setDbID(1);
$result = LianPhp::db()->getAll($sql);
LianPhp::core()->Safe->dump($result);
?>